package conf

import (
	"ErgoGo/internal/model"
	"ErgoGo/pkg/database"
)

type Conf struct {
	model.BaseModel

	Title      string `json:"title"`
	FieldName  string `json:"field_name"`
	FieldValue string `json:"field_value"`

	model.CommonTimestampsField
}

func (a *Conf) Create() {
	database.DB.Create(&a)
}
